﻿@model WebApp.Models.Product

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="control-group col-md-9  ">
        @Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } })
        @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger control-group-addon " })
    </div>
</div>

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.Unit, htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="col-md-9">
        @Html.EditorFor(model => model.Unit, new { htmlAttributes = new { @class = "form-control" } })
        @Html.ValidationMessageFor(model => model.Unit, "", new { @class = "text-danger" })
    </div>
</div>

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.UnitPrice, htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="col-md-9">
        @Html.EditorFor(model => model.UnitPrice, new { htmlAttributes = new { @class = "form-control" } })
        @Html.ValidationMessageFor(model => model.UnitPrice, "", new { @class = "text-danger" })
    </div>
</div>

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.StockQty, htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="col-md-9">
        @Html.EditorFor(model => model.StockQty, new { htmlAttributes = new { @class = "form-control" } })
        @Html.ValidationMessageFor(model => model.StockQty, "", new { @class = "text-danger" })
    </div>
</div>

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.ConfirmDateTime, htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="col-md-9">
        @Html.EditorFor(model => model.ConfirmDateTime, "Date")
        @Html.ValidationMessageFor(model => model.ConfirmDateTime, "", new { @class = "text-danger" })
    </div>
</div>

<div class="form-group col-lg-6 col-md-6">
    @Html.LabelFor(model => model.CategoryId, "CategoryId", htmlAttributes: new { @class = "control-label col-md-3" })
    <div class="col-md-9">
        @Html.DropDownList("CategoryId", null, htmlAttributes: new { @class = "form-control" })
        @Html.ValidationMessageFor(model => model.CategoryId, "", new { @class = "text-danger" })
    </div>
</div>


<script>
 
        
</script>



